var requestService = require('../../utils/requestService.js');
Page({
  data: {
    ewallet:{
        id:'',
        status:'',
        balance:'',
        versionNumber:''
    }
  },
  onLoad: function () {
      // 设置本页导航标题
      wx.setNavigationBarTitle({
          title: '我的钱包'
      })
      let that=this;
     requestService.sendGetRequest("/ewallet/banlance", null, function (result) {
         that.setData({
             ewallet:result.data.resData
         })
      });

  },
  /**跳转到充值页面*/
  toPaycheck:function () {
      wx.navigateTo({
          url: '../paycheck/index'
      })
    }
})